package com.xc.hotelmgr.webapi.modules.op.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xc.hotelmgr.webapi.modules.dt.entity.HtlEntity;
import com.xc.hotelmgr.webapi.modules.op.entity.DtUpHtlEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author kemmy
 * @email kemmy@gmail.com
 * @date 2020-09-30 08:51:24
 */
@Mapper
public interface DtUpHtlDao extends BaseMapper<DtUpHtlEntity> {

    List<DtUpHtlEntity> sqlQuery(Map<String,Object> params);

    List<DtUpHtlEntity> sqlQueryByStore(Map<String,Object> params);

    List<HtlEntity> sqlQueryHtlPage(Map<String,Object> params);

    List<HtlEntity> sqlQueryHtl(Map<String,Object> params);

    List<DtUpHtlEntity> sqlQueryPage(Map<String, Object> params);

    List<Long> sqlQueryUpHotelRp();

    List<Long> getHotelList(Integer status);

    List<Long> getByStoreId(int storeId);

    List<Long> getByAreaId(Integer storeId, Long sendId);

    List<Long> getByGroupId(Integer storeId, Long groupId);
}
